HAL ICACHE macro migration

This section provides information about the HAL ICACHE macro migration.

Note

All public macros related to hardware (HW) defined in HAL1 are removed, and equivalent services added to the LL layer in HAL2.

Related concept: Removal of hardware-related macros in HAL2

HAL ICACHE enable interrupt macros

HAL1

HAL2

#define __HAL_ICACHE_ENABLE_IT()
#define LL_ICACHE_EnableIT_BSYEND()
#define LL_ICACHE_EnableIT_ERR()

HAL ICACHE disable interrupt macros

HAL1

HAL2

#define __HAL_ICACHE_DISABLE_IT()
#define LL_ICACHE_DisableIT_BSYEND()
#define LL_ICACHE_DisableIT_ERR()

HAL ICACHE get IT flag macros

HAL1

HAL2

#define __HAL_ICACHE_GET_IT_SOURCE()
#define LL_ICACHE_IsEnabledIT_BSYEND()
#define LL_ICACHE_IsEnabledIT_ERR()

HAL ICACHE get flag macros

HAL1

HAL2

#define __HAL_ICACHE_GET_FLAG()
#define LL_ICACHE_IsActiveFlag_BUSY()
#define LL_ICACHE_IsActiveFlag_BSYEND()
#define LL_ICACHE_IsActiveFlag_ERR()

HAL ICACHE clear flags macros

HAL1

HAL2

#define __HAL_ICACHE_CLEAR_FLAG()
#define LL_ICACHE_ClearFlag()